﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace LibMessage.Models
{
    public class MessageModel
    {
        public int MsgId { get; set; }

        public int MessageId { get; set; }
        public byte[] Data { get; set; }

        public DateTime? SendDate { get; set; }

        public string ErrCode { get; set; }

        public string ErrString { get; set; }

        public bool Result { get; set; }
    }

    public class MessagePack
    {
        public string Cmd { get; set; }
        public bool Result { get; set; }
        public byte[] Data { get; set; }
        public DateTime? SendDate { get; set; }
        public string ErrCode { get; set; }
        public string ErrString { get; set; }
    }
}